package com.jingfu.mapper;

import com.jingfu.pojo.SysRolePower;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRolePowerMapper {
    int deleteByPrimaryKey(String id);

    int insert(SysRolePower record);

    int insertSelective(SysRolePower record);

    SysRolePower selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysRolePower record);

    int updateByPrimaryKey(SysRolePower record);

    int deleteRolePerm(@Param("roleId") String roleId, @Param("deletePermIds") List<String> deletePermIds);
}
